package com.xyc.service.impl;

import com.xyc.entity.Student;
import com.xyc.mapper.StudentMapper;
import com.xyc.service.StudentService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Resource
    StudentMapper studentMapper;

    @Override
    public Student getStudent(int sid) {
        return studentMapper.getStudent(sid);
    }
}
